Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DRT: update preplanned optimizer #3450

Merged
merged 4 commits into from
Sep 15, 2024

Conversation

nkuehnel
Copy link
Member

@nkuehnel nkuehnel commented Sep 5, 2024

updates the preplanned drt optimizer to not check for equality of vehicle id sets in the fleet and for existing preplanned vehicles. Right now it will fail even if every preplanned vehicle exists in the fleet, but when some vehicles in the fleet do not have any prepanned assignment. The message in that regard is misleading "Some schedules are preplanned for vehicles outside the fleet".

This PR changes the test to only test if all preplanned vehicles exist in the fleet. But there may be more in the fleet that are just not used

@nkuehnel nkuehnel enabled auto-merge September 15, 2024 22:00
@nkuehnel nkuehnel merged commit 50b7015 into matsim-org:master Sep 15, 2024
47 checks passed
@nkuehnel nkuehnel deleted the preplannedOptimizer branch September 15, 2024 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant